package com.sanqing.po;

import java.util.Date;

/**
 * Payment entity. @author MyEclipse Persistence Tools
 */

public class Payment implements java.io.Serializable {

	// Fields

	private Integer id;
	private Employee employee;
	private float basic;
	private float eat;
	private float house;
	private float duty;
	private float scot;
	private float punishment;
	private float other;
	private Date granttime;
	private float totalize;

	// Constructors

	/** default constructor */
	public Payment() {
	}

	/** minimal constructor */
	public Payment(Employee employee) {
		this.employee = employee;
	}

	/** full constructor */
	public Payment(Employee employee, float basic, float eat, float house,
			float duty, float scot, float punishment, float other,
			Date granttime, float totalize) {
		this.employee = employee;
		this.basic = basic;
		this.eat = eat;
		this.house = house;
		this.duty = duty;
		this.scot = scot;
		this.punishment = punishment;
		this.other = other;
		this.granttime = granttime;
		this.totalize = totalize;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Employee getEmployee() {
		return this.employee;
	}

	public void setEmployee(Employee employee) {
		this.employee = employee;
	}

	public float getBasic() {
		return this.basic;
	}

	public void setBasic(float basic) {
		this.basic = basic;
	}

	public float getEat() {
		return this.eat;
	}

	public void setEat(float eat) {
		this.eat = eat;
	}

	public float getHouse() {
		return this.house;
	}

	public void setHouse(float house) {
		this.house = house;
	}

	public float getDuty() {
		return this.duty;
	}

	public void setDuty(float duty) {
		this.duty = duty;
	}

	public float getScot() {
		return this.scot;
	}

	public void setScot(float scot) {
		this.scot = scot;
	}

	public float getPunishment() {
		return this.punishment;
	}

	public void setPunishment(float punishment) {
		this.punishment = punishment;
	}

	public float getOther() {
		return this.other;
	}

	public void setOther(float other) {
		this.other = other;
	}

	public Date getGranttime() {
		return this.granttime;
	}

	public void setGranttime(Date granttime) {
		this.granttime = granttime;
	}

	public float getTotalize() {
		return this.totalize;
	}

	public void setTotalize(float totalize) {
		this.totalize = totalize;
	}

}